	<div data-role="content"  data-scroll="y" data-height="80%" >
	<h3><?php echo $row->title; ?></h3>
	<h4><?php if ($row->userid!=$this->session->userdata('userid')) 
 		echo "Host: <a href=".site_url('user_controller/show_user_profile?userID=').$row->userid." >".$row->ownerfullname."</a>";
        else
        echo "Host: " . $row->ownerfullname
        ?></h4>
 	<ul data-role="listview" data-inset="true">
 	<li data-role="list-divider" data-theme="a">Hello Detail</li>
 	<li><!--<img src="<?=base_url('themes/resources/pig.jpg');?>" />-->
 		
 		
 		<p><b>
        
        <?php if($row->isconfirmed == 1) :?>
        </br>
        <?php  if ($row->userid==$this->session->userdata('userid')) 
 		echo "Guest: <a  href=".site_url('user_controller/show_user_profile?userID=').$row->guestid." >".$guestfullname."</a>";
        else
        echo "Guest: ".$guestfullname
        ?>
        <?php endif; ?>
        
        <p><?php echo "Place: ".$row->place. ", ".$row->areaname?></p>
		<p><b><?php echo "Time :" .$row->date.", ".$row->time;?></b></p>
		<p><b>Remarks:</b></p>
               
 	</li>
 	
 	</ul>
 	
 	<?php if(!$row->isconfirmed):?>
		<?php if($row->userid!=$this->session->userdata('userid')): ?>
				<?php if(!$is_exist):?>
				<a
					href="<?=site_url('feed_controller/apply?helloID=');?><?=$row->helloid?>"
					data-role="button" data-inset="true">I'll be there</a>
				<?php else :?>
				<?php echo 'You have applied it! Pls wait the owner to check'?>
				<?php endif; ?>
		<?php else :?>
		<a
			href="<?=site_url('feed_controller/read_applicants?helloID=');?><?=$row->helloid?>"
			data-role="button" data-inset="true">Read Applicants</a>
		<?php endif;?>
		
		</a>
		<?php endif;?>
 	</div>
 	
 	

</div>


</body>
</html>

